package com.dundun.pattern.state;

public class StateMain {
    public static void main(String[] args) throws InterruptedException {
        SafeFrame frame = new SafeFrame("State Simple");
        for (int h=0; h<24; h=++h%24) {
            frame.setClock(h);
            Thread.sleep(1000);
        }
    }
}
